package com.rolerealm.service.impl;

import com.rolerealm.service.LLMService;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

@Slf4j
@Service
@RequiredArgsConstructor
public class MockLLMServiceImpl implements LLMService {

    @Override
    public String infer(String prompt, String languageOrModel) {
        log.debug("Mock LLM infer, model: {}, prompt length: {}", languageOrModel, prompt == null ? 0 : prompt.length());
        return "AI回复：" + prompt;
    }
}


